package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"rk9/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/list", &controllers.UserController{}, "post:List")

	beego.Router("/update", &controllers.UserController{}, "post:Update")

	beego.Router("/del", &controllers.UserController{}, "post:Del")
}
